//Cat.h
#ifndef CAT_H_
#define CAT_H_
#include "Pet.h"
#include <iostream>
using namespace std;
class Cat : public Pet {
public:
    Cat(double w = 0, string name = "未知") : Pet(w, name) {}
    ~Cat() {}

    void Bark() override {
        cout << getName() << "发出了喵喵喵的叫声" << endl;
    }
};
#endif